 package com.lj.mcore.entity;

  import com.lj.mcore.domain.IdEntity;
 import jakarta.persistence.*;
 import java.util.Date;


 @Entity
 @Table(name="shopping_delivery_goods")
 public class DeliveryGoods extends IdEntity
 {
 
   @OneToOne(fetch=FetchType.LAZY)
   private Goods d_goods;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private Goods d_delivery_goods;
   private int d_status;
 
   @ManyToOne(fetch=FetchType.LAZY)
   private User d_admin_user;
   private Date d_audit_time;
   private Date d_refuse_time;
 
   @Temporal(TemporalType.DATE)
   private Date d_begin_time;
 
   @Temporal(TemporalType.DATE)
   private Date d_end_time;
 
   public Goods getD_goods()
   {
     return this.d_goods;
   }
 
   public void setD_goods(Goods d_goods) {
     this.d_goods = d_goods;
   }
 
   public Goods getD_delivery_goods() {
     return this.d_delivery_goods;
   }
 
   public void setD_delivery_goods(Goods d_delivery_goods) {
     this.d_delivery_goods = d_delivery_goods;
   }
 
   public int getD_status() {
     return this.d_status;
   }
 
   public void setD_status(int d_status) {
     this.d_status = d_status;
   }
 
   public User getD_admin_user() {
     return this.d_admin_user;
   }
 
   public void setD_admin_user(User d_admin_user) {
     this.d_admin_user = d_admin_user;
   }
 
   public Date getD_begin_time() {
     return this.d_begin_time;
   }
 
   public void setD_begin_time(Date d_begin_time) {
     this.d_begin_time = d_begin_time;
   }
 
   public Date getD_end_time() {
     return this.d_end_time;
   }
 
   public void setD_end_time(Date d_end_time) {
     this.d_end_time = d_end_time;
   }
 
   public Date getD_audit_time() {
     return this.d_audit_time;
   }
 
   public void setD_audit_time(Date d_audit_time) {
     this.d_audit_time = d_audit_time;
   }
 
   public Date getD_refuse_time() {
     return this.d_refuse_time;
   }
 
   public void setD_refuse_time(Date d_refuse_time) {
     this.d_refuse_time = d_refuse_time;
   }
 }



 
 